#coding=utf-8
__author__ = 'rsg'

from wtforms import StringField, validators
from wtforms_tornado import Form

class myForm(Form):
    UserId = StringField(u'用户的ID', [validators.required(), validators.length(max=20)])
    UserName = StringField(u'用户的姓名',[validators.required(), validators.length(max=20)])

class LoginForm(Form):
    UserId = StringField(u'用户的ID', [validators.required, validators.length(max=20)])